import { createApp } from 'vue'
import App from './App.vue'
import router from './router/router'
import ElementPlus from 'element-plus'
import api from './Api'
import store from './store'
import 'element-plus/theme-chalk/index.css'
import 'element-plus/theme-chalk/dark/css-vars.css'

// createApp(App).use(router).use(ElementPlus).mount('#app')

const app = createApp(App)
app.config.globalProperties.$api=api
app.use(router)
app.use(store)
app.use(ElementPlus)
app.mount('#app')